#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
double func1(double x, double y) {
	
	try {
		if (y == 0) {
			string s("can not divide zero!");
			throw s;
		}
	}
	catch (const int& ret) {
		cout << ret << endl;
	}
	return x / y;
}
double func2(double x, double y) {
	try {
		return func1(x, y);
	}
	catch (const string& a)
	{
		throw;
		cout << "func2" << endl;
	}
}
double func3(double x, double y) {
	try {
		return func2(x, y);
	}
	catch (const string& a)
	{
		cout << a << endl;
	}
	cout << "hello bit" << endl;
}
void test1() {
	double x, y;
	while (cin >> x >> y) {
		try {
			cout << func3(x, y) << endl;
		}
		catch (const string& s) {
			cout << s << endl;
		}
	}
}
int main() {
	test1();


	return 0;
}